import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js'


//提供调用分页查询接口的函数
export const orderPageQueryService = (params)=>{
    return request.get('/admin/order/page',{params: params});
}
//修改信息
export const orderUpdateService = (orderData)=>{
    return request.put('/admin/order',orderData)
}

//获取信息
export const orderGetService = (id)=>{
    return request.get('/admin/order/' + id)
}

export const orderStatisticAllService = ()=>{
    return request.get('/admin/order/statisticAll')
}
